/**
 * 
 */
package jpa_objects;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;

/**
 * @author Alejandro Casas
 *
 */
@Entity
public class Feedback {

	private long id;
	private String mailFrom;
	private String subject;
	private String comment;
	
	
	/**
	 * @param mailFrom
	 * @param subject
	 * @param comment
	 */
	public Feedback(String mailFrom, String subject, String comment) {
		this.mailFrom = mailFrom;
		this.subject = subject;
		this.comment = comment;
	}

	/**
	 * 
	 */
	public Feedback() {
		super();
	}
	
	/**
	 * @return the id
	 */
	@Id
	@GeneratedValue
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

	/**
	 * @return the mailFrom
	 */
	public String getMailFrom() {
		return mailFrom;
	}
	/**
	 * @param mailFrom the mailFrom to set
	 */
	public void setMailFrom(String mailFrom) {
		this.mailFrom = mailFrom;
	}
	/**
	 * @return the subject
	 */
	public String getSubject() {
		return subject;
	}
	/**
	 * @param subject the subject to set
	 */
	public void setSubject(String subject) {
		this.subject = subject;
	}
	/**
	 * @return the comment
	 */
	public String getComment() {
		return comment;
	}
	/**
	 * @param comment the comment to set
	 */
	public void setComment(String comment) {
		this.comment = comment;
	}

	
}
